package com.ws.wsmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/***
 * 1.开启服务的注册发现（配置nacos的中心地址）
 */
@EnableDiscoveryClient    //服务发现（主要是用于转发）
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})  //排除与数据源有关的配置
public class WsmallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(WsmallGatewayApplication.class, args);
    }

}
